<template>
  <div class="banner">
    <el-carousel :interval="4000" type="card" class="carousel">
      <el-carousel-item v-for="item in 4" :key="item">
        <!-- <h3 class="medium">{{ item }}</h3> -->
        <img :src="'/img/banner' + item+'.png'" alt="" class="medium" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  name: "index",
  data() {
    return {
      url: process.env.VUE_APP_BASE_API,
    };
  },
  computed: {},
  watch: {},

  methods: {},
  created() {
  },
  mounted() {},
  components: {},
};
</script>
<style scoped>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
.carousel{
  height: 350px;
  background-color: #2F3444;
}
</style>